//7.	Create the following methods that draw the given Map at the given X/Y location: flipped horizontally, flipped vertically, flipped about the x/y axis, rotated clockwise, and rotated counter-clockwise, respectively:
//void drawFlippedH(int x, int y)
//void drawFlippedV(int x, int y)
//void drawFlippedXY(int x, int y)
//void drawRotatedCW(int x, int y)
//void drawRotatedCCW(int x, int y)
//a.	For examples of how to flip and rotate 2D arrays, login to http://www.devryu.net, go to GSP420 -> doc sharing, and download arrayRotation.zip
//b.	Be sure to test your method implementations.
//


//#define PRIMER7

#ifdef PRIMER7

#include "Map.h"

int main()
{
	Map myMap;

	if (myMap.LoadFile("test7.txt"))
	{
		myMap.Draw(0, 0);
		std::cin.get();

		myMap.DrawFlippedH(11, 0);
		std::cin.get();

		myMap.DrawFlippedXY(22, 0);
		std::cin.get();

		myMap.DrawRotatedCW(0, 10);
		std::cin.get();

		myMap.DrawRotatedCCW(11, 10);
		std::cin.get();
	}
	else
	{
		std::cout << "Error reading file!" << std::endl;
		return 0;
	}

	return 0;
}



#endif